﻿<%@ Page Language="C#" MasterPageFile="~/Site1.Master" AutoEventWireup="true" CodeBehind="Gallery.aspx.cs" Inherits="websoni.WebForm3" Title="Albums" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
    .style1
    {
        width: 100%;
    }
</style>
</asp:Content>
<asp:Content ID="Content2" runat="server" 
    contentplaceholderid="ContentPlaceHolder1">
    <table class="style1">
    <tr>
        <td>
            &nbsp;</td>
        <td>
            &nbsp;</td>
        <td>
            &nbsp;</td>
    </tr>
    <tr>
        <td colspan="3">
            <asp:DataList ID="DataList1" runat="server" RepeatColumns="5" CellSpacing="4">
                <ItemStyle Font-Bold="False" Font-Italic="False" Font-Overline="False" 
                    Font-Strikeout="False" Font-Underline="False" HorizontalAlign="Center" />
                <ItemTemplate>
                <a href='<%# "Gallery1.aspx?id="+Eval("alid") %>'>
                    <asp:Image ID="Image1" runat="server" Height="115px" 
                        ImageUrl='<%# "~/images/"+Eval("front") %>' Width="110px" />
                    <br />
                    </a>
                    <asp:HyperLink ID="HyperLink1" runat="server" 
                        NavigateUrl='<%# "~/Gallery1.aspx?id="+Eval("alid") %>' 
                        Text='<%# Eval("album_name") %>'></asp:HyperLink>
                    <br />
                    <br />
                </ItemTemplate>
            </asp:DataList>
        </td>
    </tr>
    <tr>
        <td>
            &nbsp;</td>
        <td>
            &nbsp;</td>
        <td>
            &nbsp;</td>
    </tr>
</table>





</asp:Content>

